package cn.smxy.ln;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.stereotype.Component;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author ln
 * @date 2022年05月20日 21:01
 */
@SpringBootApplication
@EnableEurekaClient //开启Eureka 客户端
@EnableFeignClients(basePackages = {"cn.smxy.ln"})
@Component("cn.smxy.ln")
@ComponentScan(basePackages = {"cn.smxy.ln.service", "cn.smxy.ln.controller", "cn.smxy.ln.config"})//扫描 @Service、@Controller 注解
public class Consumer_feign_80 {

    public static void main(String[] args) {
        SpringApplication.run(Consumer_feign_80.class, args);
    }
}
